function useAuth() {
    const isLogin = sessionStorage.getItem('token')? true: false
    return {
        isLogin
    }
}

function useStatus() {
    const Status = sessionStorage.getItem('status') === '管理员'? true: false
    return {
        Status
    }
}

export {
    useAuth,
    useStatus
}